package com.link.base.base.orgnization.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 * @comments 组织
 */
public class Orgnization extends BasicModel {

    private String orgCode;
    /**
     * 树节点显示名称
     */
    private String text;
    /**
     * 营销渠道
     */
    private String marketChannel;
    private String orgType;
    /**
     * 存放筛选类型
     */
    private String orgTypeValue;
    private String orgTypeLovType;
    private Long parentOrgId;
    private String parentOrgName;
    private String isEffective;
    private String isEffectiveLovType;
    private String carShelfLife;
    private Long orgId;
    private String parentOrgCode;
    /** 错误信息*/
    private String errorMessage;
    /** 状态*/
    private String status;
    /** 组织标记*/
    private String isOrg;
    /** 企点部门ID */
    private Long qdDeptId;
    /** 父组织的企点部门ID */
    private Long parentOrgQdDeptId;

    private String source;

    private Long acctId;
    private String acctName;

    /**HuangLJ 2017年12月03日 api接口用*/
    /**crmid*/
    private Long crmId;
    /**是否是主要*/
    private String isAcctDefault;
    /**联系人Id*/
    private Long contactId;
    /**价格表id*/
    private Long priceListId;
    /**价格表名称*/
    private String priceListName;
    /**注意:如果前端传了这个参数则会报400错误*/
    private List<Orgnization> children;

    private String dataType;
    private String isPartner;


    /**
     * 查询组织上级/下级（up/down）
     */
    private String upOrDown;

    /**
     * SHR父组织ID
     */
    private String shrParOrgId;
    /**
     * SHR组织ID
     */
    private String shrOrgId;
    /**
     * 组织层级
     */
    private String orgLevel;
    /**
     * 源系统描述
     */
    private String shrDesc;

    /**
     * 源系统创建时间
     */
    private String shrCreated;



    public String getUpOrDown() {
        return upOrDown;
    }

    public void setUpOrDown(String upOrDown) {
        this.upOrDown = upOrDown;
    }

    public String getIsPartner() {
        return isPartner;
    }

    public void setIsPartner(String isPartner) {
        this.isPartner = isPartner;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public Long getAcctId() {
        return acctId;
    }

    public void setAcctId(Long acctId) {
        this.acctId = acctId;
    }

    public String getAcctName() {
        return acctName;
    }

    public void setAcctName(String acctName) {
        this.acctName = acctName;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCarShelfLife() {
        return carShelfLife;
    }

    public void setCarShelfLife(String carShelfLife) {
        this.carShelfLife = carShelfLife;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<Orgnization> getChildren() {
        return children;
    }

    public void setChildren(List<Orgnization> children) {
        this.children = children;
    }

    public String getOrgType() {
        return orgType;
    }

    public void setOrgType(String orgType) {
        this.orgType = orgType;
    }

    public Long getParentOrgId() {
        return parentOrgId;
    }

    public void setParentOrgId(Long parentOrgId) {
        this.parentOrgId = parentOrgId;
    }

    public String getIsEffective() {
        return isEffective;
    }

    public void setIsEffective(String isEffective) {
        this.isEffective = isEffective;
    }

    public String getParentOrgName() {
        return parentOrgName;
    }

    public void setParentOrgName(String parentOrgName) {
        this.parentOrgName = parentOrgName;
    }

    public String getOrgTypeLovType() {
        return orgTypeLovType;
    }

    public void setOrgTypeLovType(String orgTypeLovType) {
        this.orgTypeLovType = orgTypeLovType;
    }

    public String getIsEffectiveLovType() {
        return isEffectiveLovType;
    }

    public void setIsEffectiveLovType(String isEffectiveLovType) {
        this.isEffectiveLovType = isEffectiveLovType;
    }

    public String getMarketChannel() {
        return marketChannel;
    }

    public void setMarketChannel(String marketChannel) {
        this.marketChannel = marketChannel;
    }

    public String getOrgTypeValue() {
        return orgTypeValue;
    }

    public void setOrgTypeValue(String orgTypeValue) {
        this.orgTypeValue = orgTypeValue;
    }

    @Override
    public Long getOrgId() {
        return orgId;
    }

    @Override
    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getParentOrgCode() {
        return parentOrgCode;
    }

    public void setParentOrgCode(String parentOrgCode) {
        this.parentOrgCode = parentOrgCode;
    }

    public String getIsOrg() {
        return isOrg;
    }

    public void setIsOrg(String isOrg) {
        this.isOrg = isOrg;
    }

    public Long getQdDeptId() {
        return qdDeptId;
    }

    public void setQdDeptId(Long qdDeptId) {
        this.qdDeptId = qdDeptId;
    }

    public Long getParentOrgQdDeptId() {
        return parentOrgQdDeptId;
    }

    public void setParentOrgQdDeptId(Long parentOrgQdDeptId) {
        this.parentOrgQdDeptId = parentOrgQdDeptId;
    }

    public Long getCrmId() {
        return crmId;
    }

    public void setCrmId(Long crmId) {
        this.crmId = crmId;
    }

    public String getIsAcctDefault() {
        return isAcctDefault;
    }

    public void setIsAcctDefault(String isAcctDefault) {
        this.isAcctDefault = isAcctDefault;
    }

    public Long getContactId() {
        return contactId;
    }

    public void setContactId(Long contactId) {
        this.contactId = contactId;
    }

    public Long getPriceListId() {
        return priceListId;
    }

    public void setPriceListId(Long priceListId) {
        this.priceListId = priceListId;
    }

    public String getPriceListName() {
        return priceListName;
    }

    public void setPriceListName(String priceListName) {
        this.priceListName = priceListName;
    }

    public String getShrParOrgId() {
        return shrParOrgId;
    }

    public void setShrParOrgId(String shrParOrgId) {
        this.shrParOrgId = shrParOrgId;
    }

    public String getShrOrgId() {
        return shrOrgId;
    }

    public void setShrOrgId(String shrOrgId) {
        this.shrOrgId = shrOrgId;
    }

    public String getOrgLevel() {
        return orgLevel;
    }

    public void setOrgLevel(String orgLevel) {
        this.orgLevel = orgLevel;
    }

    public String getShrDesc() {
        return shrDesc;
    }

    public void setShrDesc(String shrDesc) {
        this.shrDesc = shrDesc;
    }

    public String getShrCreated() {
        return shrCreated;
    }

    public Orgnization setShrCreated(String shrCreated) {
        this.shrCreated = shrCreated;
        return this;
    }
}
